package xcmg.device.infra.interceptor.externalApiCheck.handle;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Component;
import xcmg.device.infra.interceptor.externalApiCheck.handle.ApiCheckStrategy.ApiCheckService;

/**
 *  带入参数校验的方式
 *
 *  md5(key + secret +timestamp + request params)校验方式
 *
 * @author wangyong
 */
@Component("apiCheckOption2Service")
public class ApiCheckOption2Service  implements ApiCheckService {

  @Override
  public boolean doCheck(HttpServletRequest request, HttpServletResponse response) {


    // TODO 待开发
    return true;
  }
}
